Pagini recente » Borderou de evaluare (job #2078502) | Borderou de evaluare (job #518353) | Borderou de evaluare (job #1105034) | Borderou de evaluare (job #1260546) | Borderou de evaluare (job #1959744)
Borderou de evaluare (job #1959744)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("covor.in", "r", stdin);
^
user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("covor.out", "w", stdout);
^
user.cpp:12:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:14:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(tmp + 1);
^
/tmp/cc7Mcl1f.o: In function `main':
user.cpp:(.text.startup+0x80): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 692kb | OK | 10 |
2 | 0ms | 1328kb | OK | 10 |
3 | 4ms | 2352kb | OK | 10 |
4 | 4ms | 3548kb | OK | 10 |
5 | 8ms | 4884kb | OK | 10 |
6 | 24ms | 9852kb | OK | 10 |
7 | 48ms | 16164kb | OK | 10 |
8 | 96ms | 24032kb | OK | 10 |
9 | 132ms | 28748kb | OK | 10 |
10 | 160ms | 31888kb | OK | 10 |
Punctaj total | 100 |