Pagini recente » Borderou de evaluare (job #2782238) | Borderou de evaluare (job #1653027) | Borderou de evaluare (job #2573950) | Borderou de evaluare (job #1222570) | Borderou de evaluare (job #2655101)
Borderou de evaluare (job #2655101)
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 |
| 1 | 2ms | 131kb | Corect | 2 |
| 2 | 2ms | 131kb | Corect | 8 |
| 3 | 2ms | 131kb | Corect | 4 |
| 4 | 2ms | 131kb | Corect | 4 |
| 5 | 2ms | 131kb | Corect | 5 |
| 6 | 2ms | 131kb | Corect | 5 |
| 7 | 2ms | 131kb | Corect | 3 |
| 8 | 2ms | 131kb | Rapuns gresit | 0 |
| 9 | 3ms | 131kb | Rapuns gresit | 0 |
| 10 | 3ms | 131kb | Corect | 3 |
| 11 | 8ms | 131kb | Corect | 3 |
| 12 | 29ms | 131kb | Corect | 3 |
| 13 | 83ms | 192kb | Rapuns gresit | 0 |
| 14 | 143ms | 131kb | Corect | 4 |
| 15 | 399ms | 200kb | Corect | 4 |
| 16 | 819ms | 131kb | Corect | 4 |
| 17 | 1503ms | 131kb | Time limit exceeded | 0 |
| 18 | 1500ms | 131kb | Time limit exceeded | 0 |
| 19 | 1500ms | 131kb | Time limit exceeded | 0 |
| 20 | 1502ms | 131kb | Time limit exceeded | 0 |
| Punctaj total | 52 |