Pagini recente » Cod sursa (job #2074875) | Borderou de evaluare (job #1501781) | Borderou de evaluare (job #1501371) | Borderou de evaluare (job #2696180) | Borderou de evaluare (job #1583193)
Borderou de evaluare (job #1583193)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:83:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.in","r",stdin);
^
user.cpp:84:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.out","w",stdout);
^
user.cpp:88:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:90:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", s + 1);
^
user.cpp:97:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:99:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", s + 1);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 452kb | OK | 10 |
| 2 | 0ms | 500kb | OK | 10 |
| 3 | 0ms | 560kb | OK | 10 |
| 4 | 0ms | 976kb | OK | 10 |
| 5 | 4ms | 1632kb | OK | 10 |
| 6 | 4ms | 1732kb | OK | 10 |
| 7 | 16ms | 5220kb | OK | 10 |
| 8 | 16ms | 5308kb | OK | 10 |
| 9 | 16ms | 5352kb | OK | 10 |
| 10 | 16ms | 5140kb | OK | 10 |
| Punctaj total | 100 |