Pagini recente » Borderou de evaluare (job #2743795) | Borderou de evaluare (job #1498561) | Borderou de evaluare (job #3137859) | Borderou de evaluare (job #1613742) | Borderou de evaluare (job #1895199)
Borderou de evaluare (job #1895199)
Raport evaluator
Compilare:
user.cpp: In function ‘void rezolva(int)’:
user.cpp:15:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0;j<a[u].size();j++)
^
user.cpp:13:19: warning: unused variable ‘ret’ [-Wunused-variable]
long suma = 0,ret;
^
user.cpp: In function ‘int main()’:
user.cpp:32:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d",&N);
^
user.cpp:47:25: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(g,"%ld",minn);
^
user.cpp:32:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&N);
^
user.cpp:34:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld",&val[i]);
^
user.cpp:38:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld%ld",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 1012kb | OK | 10 |
2 | 0ms | 640kb | OK | 10 |
3 | 0ms | 644kb | OK | 10 |
4 | 0ms | 644kb | OK | 10 |
5 | 0ms | 636kb | OK | 10 |
6 | 0ms | 648kb | OK | 10 |
7 | 8ms | 916kb | OK | 10 |
8 | 16ms | 1004kb | OK | 10 |
9 | 16ms | 1012kb | OK | 10 |
10 | 16ms | 1008kb | OK | 10 |
Punctaj total | 100 |