Borderou de evaluare (job #1811454)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("jocs.in", "r", stdin);
^
user.cpp:22:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("jocs.out", "w", stdout);
^
user.cpp:26:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:29:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &N, &K);
^
user.cpp:30:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/cc88ZFdv.o: In function `main':
user.cpp:(.text.startup+0x99): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1632kb | Corect! | 5 |
2 | 0ms | 1628kb | Corect! | 5 |
3 | 4ms | 1656kb | Corect! | 5 |
4 | 4ms | 1656kb | Corect! | 5 |
5 | 4ms | 1656kb | Corect! | 5 |
6 | 4ms | 1656kb | Corect! | 5 |
7 | 12ms | 1756kb | Corect! | 5 |
8 | 12ms | 1764kb | Corect! | 5 |
9 | Depăşit | 6156kb | Time limit exceeded. | 0 |
10 | Depăşit | 6152kb | Time limit exceeded. | 0 |
11 | Depăşit | 6156kb | Time limit exceeded. | 0 |
12 | Depăşit | 6152kb | Time limit exceeded. | 0 |
13 | Depăşit | 10680kb | Time limit exceeded. | 0 |
14 | Depăşit | 10680kb | Time limit exceeded. | 0 |
15 | Depăşit | 10672kb | Time limit exceeded. | 0 |
16 | Depăşit | 10676kb | Time limit exceeded. | 0 |
17 | Depăşit | 10680kb | Time limit exceeded. | 0 |
18 | Depăşit | 10676kb | Time limit exceeded. | 0 |
19 | Depăşit | 10676kb | Time limit exceeded. | 0 |
20 | Depăşit | 10676kb | Time limit exceeded. | 0 |
Punctaj total | 40 |