Pagini recente » Borderou de evaluare (job #2919433) | Cod sursa (job #1309655) | Supersuma | Cod sursa (job #445220) | Borderou de evaluare (job #1555931)
Borderou de evaluare (job #1555931)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:48:26: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[10005]’ [-Wformat=]
scanf ("%s\n", &s);
^
user.cpp:44:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("ratina.in", "r", stdin);
^
user.cpp:45:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("ratina.out", "w", stdout);
^
user.cpp:46:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d\n", &n, &m);
^
user.cpp:48:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%s\n", &s);
^
user.cpp:53:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &nr);
^
user.cpp:56:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &var[j]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 216ms | 1676kb | OK | 5 |
| 2 | 212ms | 1684kb | OK | 5 |
| 3 | 20ms | 952kb | OK | 5 |
| 4 | 20ms | 956kb | OK | 5 |
| 5 | 20ms | 920kb | OK | 5 |
| 6 | 20ms | 916kb | OK | 5 |
| 7 | 224ms | 2784kb | Incorect | 0 |
| 8 | 216ms | 2848kb | Incorect | 0 |
| 9 | 208ms | 2836kb | Incorect | 0 |
| 10 | 216ms | 1688kb | OK | 5 |
| 11 | 216ms | 1496kb | OK | 5 |
| 12 | 208ms | 1904kb | Incorect | 0 |
| 13 | 208ms | 1696kb | Incorect | 0 |
| 14 | 212ms | 1904kb | Incorect | 0 |
| 15 | 212ms | 1696kb | OK | 5 |
| 16 | 172ms | 1628kb | Incorect | 0 |
| 17 | 304ms | 1768kb | OK | 5 |
| 18 | 300ms | 1808kb | OK | 5 |
| 19 | 296ms | 1676kb | OK | 5 |
| 20 | 280ms | 1672kb | OK | 5 |
| Punctaj total | 65 |