Pagini recente » Borderou de evaluare (job #2816431) | Borderou de evaluare (job #2664883) | Borderou de evaluare (job #1578365) | Borderou de evaluare (job #587868) | Borderou de evaluare (job #1396810)
Borderou de evaluare (job #1396810)
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/cchdj8Qn.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 | 264kb | OK | 10 |
2 | 0ms | 264kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 |
4 | 4ms | 272kb | OK | 10 |
5 | 4ms | 272kb | OK | 10 |
6 | 64ms | 356kb | OK | 10 |
7 | 60ms | 356kb | OK | 10 |
8 | 72ms | 356kb | OK | 10 |
9 | 64ms | 352kb | OK | 10 |
10 | 68ms | 356kb | OK | 10 |
Punctaj total | 100 |