Borderou de evaluare (job #2735021)

Utilizator tryharderulbrebenel mihnea stefan tryharderul Data 1 aprilie 2021 18:55:09
Problema Sotron2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:35:18: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d",&t); ^ main.cpp:37:34: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d %d %d",&a,&b,&n); ^ main.cpp:37:34: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] main.cpp:37:34: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=] main.cpp:33:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("sotron2.in","r",stdin); ^ main.cpp:34:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("sotron2.out","w",stdout); ^ main.cpp:35:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ main.cpp:37:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d",&a,&b,&n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
183ms393kbOK10
2106ms360kbOK10
32ms131kbOK10
42ms131kbOK10
52ms131kbOK10
62ms131kbOK10
7220ms393kbOK10
8221ms393kbOK10
9212ms393kbOK10
10196ms393kbOK10
Punctaj total100

Ceva nu functioneaza?