Pagini recente » Borderou de evaluare (job #1336744) | Borderou de evaluare (job #2051601) | Borderou de evaluare (job #1402041) | Borderou de evaluare (job #1657129) | Borderou de evaluare (job #1858332)
Borderou de evaluare (job #1858332)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("texttrim.in", "r", stdin);
^
user.cpp:16:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("texttrim.out", "w", stdout);
^
user.cpp:18:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &M[' ']);
^
user.cpp:20:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &M[i]);
^
user.cpp:22:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:24:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &W);
^
/tmp/ccekKU1H.o: In function `main':
user.cpp:(.text.startup+0x1a9): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 288kb | OK | 10 | 100 |
2 | 0ms | 296kb | OK | 10 |
3 | 0ms | 292kb | OK | 10 |
4 | 0ms | 304kb | OK | 10 |
5 | 0ms | 324kb | OK | 10 |
6 | 0ms | 492kb | OK | 10 |
7 | 4ms | 1260kb | OK | 10 |
8 | 16ms | 1328kb | OK | 10 |
9 | 4ms | 1272kb | OK | 10 |
10 | 4ms | 1272kb | OK | 10 |
Punctaj total | 100 |