Pagini recente » Borderou de evaluare (job #2918776) | Borderou de evaluare (job #190402) | Borderou de evaluare (job #562083) | Borderou de evaluare (job #497396) | Borderou de evaluare (job #1858326)
Borderou de evaluare (job #1858326)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12: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:13: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:15:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &M[' ']);
^
user.cpp:17: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:19:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:21:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &W);
^
/tmp/cczHehl1.o: In function `main':
user.cpp:(.text.startup+0x1ad): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 276kb | OK | 10 | 0 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 280kb | Incorect | 0 |
4 | 0ms | 276kb | OK | 10 |
5 | 0ms | 312kb | OK | 10 |
6 | 0ms | 476kb | OK | 10 |
7 | 4ms | 1236kb | OK | 10 |
8 | 16ms | 1252kb | OK | 10 |
9 | 4ms | 1248kb | OK | 10 |
10 | 4ms | 1252kb | OK | 10 |
Punctaj total | 0 |