Pagini recente » Monitorul de evaluare | Monitorul de evaluare | Borderou de evaluare (job #2625888) | Cod sursa (job #2015478) | Borderou de evaluare (job #1566715)
Borderou de evaluare (job #1566715)
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 | 612kb | OK | 5 |
| 2 | 0ms | 1252kb | OK | 5 |
| 3 | 24ms | 1256kb | OK | 5 |
| 4 | 40ms | 1252kb | OK | 5 |
| 5 | 84ms | 1260kb | OK | 5 |
| 6 | 172ms | 1256kb | OK | 5 |
| 7 | 0ms | 600kb | OK | 5 |
| 8 | 4ms | 1236kb | OK | 5 |
| 9 | 4ms | 1244kb | OK | 5 |
| 10 | 4ms | 1252kb | OK | 5 |
| 11 | 8ms | 1248kb | OK | 5 |
| 12 | 20ms | 1248kb | OK | 5 |
| 13 | 36ms | 1248kb | OK | 5 |
| 14 | 76ms | 1252kb | OK | 5 |
| 15 | 92ms | 1252kb | OK | 5 |
| 16 | 128ms | 1248kb | OK | 5 |
| 17 | 184ms | 1248kb | OK | 5 |
| 18 | 196ms | 1252kb | OK | 5 |
| 19 | 244ms | 1252kb | OK | 5 |
| 20 | 300ms | 1252kb | OK | 5 |
| Punctaj total | 100 |