Borderou de evaluare (job #1653052)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.in", "r", stdin);
^
user.cpp:22:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.out", "w", stdout);
^
user.cpp:25:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n); N = n;
^
user.cpp:29:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp:55:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:58:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/ccdNBduH.o: In function `main':
user.cpp:(.text.startup+0x95): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 456kb | OK | 10 |
2 | 4ms | 572kb | OK | 10 |
3 | 24ms | 1052kb | OK | 10 |
4 | Depăşit | 4292kb | Time limit exceeded. | 0 |
5 | Depăşit | 6600kb | Time limit exceeded. | 0 |
6 | Depăşit | 6344kb | Time limit exceeded. | 0 |
7 | Depăşit | 6600kb | Time limit exceeded. | 0 |
8 | Depăşit | 6864kb | Time limit exceeded. | 0 |
9 | Depăşit | 6740kb | Time limit exceeded. | 0 |
10 | Depăşit | 6736kb | Time limit exceeded. | 0 |
Punctaj total | 30 |