Pagini recente » Borderou de evaluare (job #1452664) | Borderou de evaluare (job #2974132) | Borderou de evaluare (job #2109813) | Borderou de evaluare (job #1208742) | Borderou de evaluare (job #1456002)
Borderou de evaluare (job #1456002)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:39: warning: format ‘%i’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%i %i %i %i",&N,&K,&A,&B);
^
user.cpp:28:39: warning: format ‘%i’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:28:39: warning: format ‘%i’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp:28:39: warning: format ‘%i’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=]
user.cpp:30:28: warning: format ‘%i’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%i",&v[i]);
^
user.cpp:43:23: warning: format ‘%i’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%i",rez);
^
user.cpp:28:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%i %i %i %i",&N,&K,&A,&B);
^
user.cpp:30:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%i",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 444kb | OK | 10 |
2 | 12ms | 464kb | OK | 10 |
3 | Depăşit | 616kb | Time limit exceeded. | 0 |
4 | 20ms | 1224kb | OK | 10 |
5 | Depăşit | 1960kb | Time limit exceeded. | 0 |
6 | Depăşit | 3524kb | Time limit exceeded. | 0 |
7 | Depăşit | 3520kb | Time limit exceeded. | 0 |
8 | Depăşit | 4304kb | Time limit exceeded. | 0 |
9 | Depăşit | 6652kb | Time limit exceeded. | 0 |
10 | Depăşit | 8204kb | Time limit exceeded. | 0 |
Punctaj total | 30 |