(UPD: 2024-12-04 14:48 UTC) Judge is not working due to Cloudflare incident. (URL) We can do nothing about it, sorry. After the incident is resolved, we will grade all submissions.

Submission #537415

#TimeUsernameProblemLanguageResultExecution timeMemory
537415tqbfjotldHop (COCI21_hop)C++14
110 / 110
44 ms1280 KiB
#include <bits/stdc++.h> using namespace std; int main(){ int n; scanf("%d",&n); for (int x = 1; x<n; x++){ for (int y = 0; y<x; y++){ printf("%d ",rand()%3+1); } printf("\n"); } }

Compilation message (stderr)

Main.cpp: In function 'int main()':
Main.cpp:6:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
    6 |     scanf("%d",&n);
      |     ~~~~~^~~~~~~~~
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...