Borderou de evaluare (job #2655101)

Utilizator AlexNicuNicu Alexandru AlexNicu Data 3 octombrie 2020 11:42:02
Problema Cufar Status done
Runda Simulare clasa a 9-a (divizibilitate) Compilator c-64 | Vezi sursa
Scor 52

Raport evaluator

Compilare: main.c: In function 'main': main.c:12:21: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] fscanf ( fin, "%d", &cer ); ^ main.c:22:25: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] fscanf( fin, "%d%d%d", &b, &a, &k ); ^ main.c:22:27: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'long long int *' [-Wformat=] fscanf( fin, "%d%d%d", &b, &a, &k ); ^ main.c:22:29: warning: format '%d' expects argument of type 'int *', but argument 5 has type 'long long int *' [-Wformat=] fscanf( fin, "%d%d%d", &b, &a, &k ); ^ main.c:33:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] fprintf( fout, "%d", prim[d] ); ^ main.c:45:35: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] fprintf( fout, "%d", ci ); ^ main.c:50:24: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] fscanf( fin, "%d", &n ); ^ main.c:52:29: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] fscanf ( fin, "%d %d", &ci, &k ); ^ main.c:52:32: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'long long int *' [-Wformat=] fscanf ( fin, "%d %d", &ci, &k ); ^ main.c:12:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf ( fin, "%d", &cer ); ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:22:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d%d%d", &b, &a, &k ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:50:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d", &n ); ^~~~~~~~~~~~~~~~~~~~~~~ main.c:52:13: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf ( fin, "%d %d", &ci, &k ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:74:25: warning: 'ok' may be used uninitialized in this function [-Wmaybe-uninitialized] if ( ci > 1 && ok != 2 ) ~~~~~~~^~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbCorect2
22ms131kbCorect8
32ms131kbCorect4
42ms131kbCorect4
52ms131kbCorect5
62ms131kbCorect5
72ms131kbCorect3
82ms131kbRapuns gresit0
93ms131kbRapuns gresit0
103ms131kbCorect3
118ms131kbCorect3
1229ms131kbCorect3
1383ms192kbRapuns gresit0
14143ms131kbCorect4
15399ms200kbCorect4
16819ms131kbCorect4
171503ms131kbTime limit exceeded0
181500ms131kbTime limit exceeded0
191500ms131kbTime limit exceeded0
201502ms131kbTime limit exceeded0
Punctaj total52

Ceva nu functioneaza?