Pagini recente » Borderou de evaluare (job #778488) | Borderou de evaluare (job #796960) | Borderou de evaluare (job #1820095) | Borderou de evaluare (job #912265) | Borderou de evaluare (job #1653087)
Borderou de evaluare (job #1653087)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31: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:32: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:40: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:44:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp:85:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:88:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/ccypRbeT.o: In function `main':
user.cpp:(.text.startup+0x12f): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 468kb | OK | 10 |
2 | 0ms | 500kb | OK | 10 |
3 | 4ms | 616kb | OK | 10 |
4 | 24ms | 1148kb | OK | 10 |
5 | 116ms | 3064kb | OK | 10 |
6 | 120ms | 2472kb | OK | 10 |
7 | Depăşit | 5300kb | Time limit exceeded. | 0 |
8 | Depăşit | 5168kb | Time limit exceeded. | 0 |
9 | Depăşit | 4380kb | Time limit exceeded. | 0 |
10 | Depăşit | 5032kb | Time limit exceeded. | 0 |
Punctaj total | 60 |