Pagini recente » Borderou de evaluare (job #2215167) | Borderou de evaluare (job #1400288) | Borderou de evaluare (job #3036118) | Borderou de evaluare (job #2425524) | Borderou de evaluare (job #1716016)
Borderou de evaluare (job #1716016)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:65:34: 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:66:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:70:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(w + 1);
^
user.cpp: In function ‘void solve()’:
user.cpp:79:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &m);
^
user.cpp:82:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(w + 1);
^
user.cpp: In function ‘void write()’:
user.cpp:95:36: 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);
^
/tmp/ccxnqsF0.o: In function `read()':
user.cpp:(.text+0x1d9): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 20ms | 9108kb | OK | 10 |
| 2 | 28ms | 9508kb | OK | 10 |
| 3 | 52ms | 11188kb | OK | 10 |
| 4 | 88ms | 22640kb | OK | 10 |
| 5 | Depăşit | 75064kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 79916kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 133308kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 134788kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 129280kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 133740kb | Time limit exceeded. | 0 |
| Punctaj total | 40 |