Pagini recente » Cod sursa (job #32110) | Borderou de evaluare (job #503615) | Borderou de evaluare (job #1991308) | Borderou de evaluare (job #1569027) | Borderou de evaluare (job #1566717)
Borderou de evaluare (job #1566717)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:34: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘char (*)[12]’ [-Wformat=]
scanf("%d\n%d\n%s\n",&v,&n,&s);
^
user.cpp:21:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[5]’ [-Wformat=]
scanf("%s",&cuvant);
^
user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zimeria.in","r",stdin);
^
user.cpp:11:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zimeria.out","w",stdout);
^
user.cpp:16:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n%d\n%s\n",&v,&n,&s);
^
user.cpp:21:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&cuvant);
^
user.cpp:55:48: warning: ‘poz5’ may be used uninitialized in this function [-Wmaybe-uninitialized]
++zimeria[poz1][poz2][poz3][poz4][poz5];
^
user.cpp:55:48: warning: ‘poz4’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:55:48: warning: ‘poz3’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:55:48: warning: ‘poz2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:55:48: warning: ‘poz1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 616kb | OK | 5 |
| 2 | 0ms | 1252kb | OK | 5 |
| 3 | 20ms | 1260kb | OK | 5 |
| 4 | 44ms | 1256kb | OK | 5 |
| 5 | 88ms | 1252kb | OK | 5 |
| 6 | 176ms | 1256kb | OK | 5 |
| 7 | 0ms | 604kb | OK | 5 |
| 8 | 4ms | 1236kb | OK | 5 |
| 9 | 4ms | 1244kb | OK | 5 |
| 10 | 4ms | 1252kb | OK | 5 |
| 11 | 8ms | 1244kb | OK | 5 |
| 12 | 20ms | 1248kb | OK | 5 |
| 13 | 40ms | 1244kb | OK | 5 |
| 14 | 68ms | 1248kb | OK | 5 |
| 15 | 92ms | 1248kb | OK | 5 |
| 16 | 124ms | 1252kb | OK | 5 |
| 17 | 180ms | 1248kb | OK | 5 |
| 18 | 208ms | 1248kb | OK | 5 |
| 19 | 260ms | 1248kb | OK | 5 |
| 20 | Depăşit | 1252kb | Time limit exceeded. | 0 |
| Punctaj total | 95 |