Pagini recente » Borderou de evaluare (job #1721707) | Borderou de evaluare (job #1908426) | Borderou de evaluare (job #443431) | Borderou de evaluare (job #2781173) | Borderou de evaluare (job #1653122)
Borderou de evaluare (job #1653122)
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:45:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp:71: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:72:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:76:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp:126:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:129:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/ccJYB7u0.o: In function `main':
user.cpp:(.text.startup+0x12d): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 460kb | OK | 10 |
2 | 0ms | 500kb | OK | 10 |
3 | 8ms | 616kb | OK | 10 |
4 | 32ms | 1136kb | OK | 10 |
5 | 148ms | 3048kb | OK | 10 |
6 | 148ms | 2480kb | OK | 10 |
7 | Depăşit | 4508kb | Time limit exceeded. | 0 |
8 | Depăşit | 4504kb | Time limit exceeded. | 0 |
9 | Depăşit | 3980kb | Time limit exceeded. | 0 |
10 | Depăşit | 4376kb | Time limit exceeded. | 0 |
Punctaj total | 60 |