Pagini recente » Borderou de evaluare (job #214550) | Borderou de evaluare (job #455508) | Borderou de evaluare (job #1589401) | Borderou de evaluare (job #476684) | Borderou de evaluare (job #1244452)
Borderou de evaluare (job #1244452)
Raport evaluator
Compilare:
user.cpp: In function ‘void list_Display(linkedList*)’:
user.cpp:60:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(g,"%d\n",temp->key);
^
user.cpp: In function ‘void list_DisplayRev(linkedList*)’:
user.cpp:71:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(g,"%d\n",temp->key);
^
user.cpp: In function ‘int main()’:
user.cpp:84:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d%d",&n,&c);
^
user.cpp:89:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d",&x);
^
user.cpp:96:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d",&x);
^
user.cpp:104:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d",&x);
^
user.cpp:84:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&n,&c);
^
user.cpp:89:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&x);
^
user.cpp:96:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&x);
^
user.cpp:104:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | OK | 10 |
2 | 0ms | 256kb | OK | 10 |
3 | 0ms | 276kb | OK | 10 |
4 | 4ms | 396kb | OK | 10 |
5 | 64ms | 1644kb | OK | 10 |
6 | 56ms | 1692kb | OK | 10 |
7 | 108ms | 3112kb | OK | 10 |
8 | 112ms | 3116kb | OK | 10 |
9 | 276ms | 7376kb | OK | 10 |
10 | 244ms | 7376kb | OK | 10 |
Punctaj total | 100 |