Pagini recente » Borderou de evaluare (job #2276715) | Borderou de evaluare (job #2386458) | Borderou de evaluare (job #1210627) | Borderou de evaluare (job #926733) | Borderou de evaluare (job #1774432)
Borderou de evaluare (job #1774432)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
fscanf(fi,"%d " ,&v[i]);
^
user.cpp:52:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(p=0;p<poz[i].size();p++)
^
user.cpp:68:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(p=0;p<poz[i].size();p++)
^
user.cpp:62:10: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(v[i]==3)
^
user.cpp:20:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d %d " ,&n,&m);
^
user.cpp:23:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d " ,&v[i]);
^
user.cpp:29:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d " ,&x);
^
user.cpp:39:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d %d " ,&Q[i].x,&Q[i].k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 340kb | OK | 10 |
2 | 0ms | 360kb | OK | 10 |
3 | 0ms | 404kb | OK | 10 |
4 | 0ms | 492kb | OK | 10 |
5 | 256ms | 61440kb | OK | 10 |
6 | 244ms | 59888kb | OK | 10 |
7 | 240ms | 58328kb | OK | 10 |
8 | 240ms | 56760kb | OK | 10 |
9 | 244ms | 55284kb | OK | 10 |
10 | 300ms | 63088kb | OK | 10 |
Punctaj total | 100 |