Pagini recente » Borderou de evaluare (job #2590519) | Borderou de evaluare (job #767036) | Borderou de evaluare (job #986881) | Borderou de evaluare (job #2451686) | Borderou de evaluare (job #2564177)
Borderou de evaluare (job #2564177)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:69:27: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(in,"%d%d",&n,&m);
^
main.cpp:69:27: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
main.cpp:72:29: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(in,"%d",&v[j]);
^
main.cpp:78:26: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(in,"%d",&x);
^
main.cpp:83:31: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(in,"%d%d",&c,&d);
^
main.cpp:83:31: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
main.cpp:85:35: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
fprintf(out,"%d\n",maximul);
^
main.cpp:88:35: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(in,"%d%d",&c,&d);
^
main.cpp:88:35: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
main.cpp:69:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d%d",&n,&m);
^
main.cpp:72:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d",&v[j]);
^
main.cpp:78:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d",&x);
^
main.cpp:83:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d%d",&c,&d);
^
main.cpp:88:36: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d%d",&c,&d);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 10 |
2 | 12ms | 131kb | OK | 10 | 10 |
3 | 17ms | 262kb | OK | 10 | 10 |
4 | 49ms | 393kb | OK | 10 | 10 |
5 | 70ms | 2883kb | OK | 10 | 10 |
6 | 86ms | 3014kb | OK | 10 | 50 |
7 | 217ms | 3670kb | OK | 10 |
8 | 186ms | 3276kb | OK | 10 |
9 | 180ms | 3276kb | OK | 10 |
10 | 188ms | 3407kb | OK | 10 |
Punctaj total | 100 |