Pagini recente » Borderou de evaluare (job #3250792) | Borderou de evaluare (job #1398527) | Borderou de evaluare (job #2856910) | Borderou de evaluare (job #3244163) | Borderou de evaluare (job #1803711)
Borderou de evaluare (job #1803711)
Raport evaluator
Compilare:
user.cpp: In function ‘void parsare()’:
user.cpp:18:29: 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:19:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp: In function ‘int main()’:
user.cpp:52:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secventa.in", "r", stdin);
^
user.cpp:53:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secventa.out", "w", stdout);
^
/tmp/ccdFLITY.o: In function `parsare()':
user.cpp:(.text+0x35): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | OK | 10 |
2 | 0ms | 424kb | OK | 10 |
3 | 4ms | 920kb | OK | 10 |
4 | 4ms | 1008kb | OK | 10 |
5 | 8ms | 1252kb | OK | 10 |
6 | 8ms | 1452kb | OK | 10 |
7 | 16ms | 2236kb | OK | 10 |
8 | 24ms | 3220kb | OK | 10 |
9 | 32ms | 4192kb | OK | 10 |
10 | 40ms | 5172kb | OK | 10 |
Punctaj total | 100 |