Pagini recente » Borderou de evaluare (job #2889950) | Borderou de evaluare (job #2926513) | Borderou de evaluare (job #1314730) | Borderou de evaluare (job #1486756) | Borderou de evaluare (job #2582891)
Borderou de evaluare (job #2582891)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:120:34: warning: unused variable 'lf' [-Wunused-variable]
int n , t , i , elem , idx , lf , rg , rest , j;
^~
main.cpp:120:39: warning: unused variable 'rg' [-Wunused-variable]
int n , t , i , elem , idx , lf , rg , rest , j;
^~
main.cpp:123:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin,"%d%d",&n,&t);
^
main.cpp:124:28: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets (s , DIMNR , fin);
^
main.cpp:132:36: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets (s + 1 , DIMNR , fin);
^
In file included from /usr/include/stdio.h:936:0,
from /usr/include/c++/6/cstdio:42,
from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:46,
from main.cpp:1:
In function 'char* fgets(char*, int, FILE*)',
inlined from 'int main()' at main.cpp:132:36:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:261:58: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 262kb | OK | 10 |
2 | 28ms | 12451kb | OK | 10 |
3 | 6ms | 1441kb | OK | 10 |
4 | 31ms | 12713kb | OK | 10 |
5 | 5ms | 1441kb | OK | 10 |
6 | 188ms | 42598kb | OK | 10 |
7 | 109ms | 4456kb | OK | 10 |
8 | 182ms | 21364kb | OK | 10 |
9 | 231ms | 42598kb | OK | 10 |
10 | 231ms | 42598kb | OK | 10 |
Punctaj total | 100 |