Pagini recente » Borderou de evaluare (job #699738) | Borderou de evaluare (job #3214376) | Borderou de evaluare (job #1765877) | Borderou de evaluare (job #93860) | Borderou de evaluare (job #1312686)
Borderou de evaluare (job #1312686)
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("parpal.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("parpal.out", "w", stdout);
^
user.cpp:14:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &n); gets(s);
^
user.cpp:14:30: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &n); gets(s);
^
user.cpp:18:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/cchTCkAv.o: In function `main':
user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 248kb | OK | 10 |
| 2 | 0ms | 252kb | OK | 10 |
| 3 | 16ms | 332kb | OK | 10 |
| 4 | 16ms | 332kb | OK | 10 |
| 5 | 16ms | 336kb | OK | 10 |
| 6 | 72ms | 728kb | OK | 10 |
| 7 | 120ms | 1024kb | OK | 10 |
| 8 | 128ms | 1068kb | OK | 10 |
| 9 | 136ms | 1128kb | OK | 10 |
| 10 | 0ms | 244kb | OK | 10 |
| Punctaj total | 100 |