Pagini recente » Borderou de evaluare (job #1860964) | Borderou de evaluare (job #2858562) | Borderou de evaluare (job #2153825) | Borderou de evaluare (job #1038241) | Borderou de evaluare (job #1396285)
Borderou de evaluare (job #1396285)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joben.in", "r", stdin);
^
user.cpp:18:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joben.out", "w", stdout);
^
user.cpp:19:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i\n", &T);
^
user.cpp:24:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(S + 1); N = strlen(S + 1);
^
user.cpp:27:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(S + 1); N = strlen(S + 1);
^
/tmp/ccKgSf43.o: In function `main':
user.cpp:(.text.startup+0xa6): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 256kb | OK | 10 |
3 | 0ms | 268kb | OK | 10 |
4 | 4ms | 272kb | OK | 10 |
5 | 4ms | 268kb | OK | 10 |
6 | 64ms | 360kb | OK | 10 |
7 | 64ms | 352kb | OK | 10 |
8 | 72ms | 356kb | OK | 10 |
9 | 68ms | 356kb | OK | 10 |
10 | 68ms | 356kb | OK | 10 |
Punctaj total | 100 |