Pagini recente » Borderou de evaluare (job #1382478) | Borderou de evaluare (job #2961817) | Borderou de evaluare (job #2683029) | Borderou de evaluare (job #725241) | Borderou de evaluare (job #1371265)
Borderou de evaluare (job #1371265)
Raport evaluator
Compilare:
user.cpp: In function ‘short int marcheaza()’:
user.cpp:42:15: warning: variable ‘c1’ set but not used [-Wunused-but-set-variable]
short l1, c1, l2, c2, la, ca;
^
user.cpp:55:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:61:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(infile, "%d %d", &r, &p);
^
user.cpp:61:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:66:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(infile, "%d", &nr);
^
user.cpp:98:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(outfile, "%d ", (*it).val);
^
user.cpp:61:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(infile, "%d %d", &r, &p);
^
user.cpp:66:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(infile, "%d", &nr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 468kb | OK | 10 |
2 | 8ms | 984kb | OK | 10 |
3 | 36ms | 1836kb | OK | 10 |
4 | 180ms | 4024kb | OK | 10 |
5 | 668ms | 7180kb | OK | 10 |
6 | 988ms | 9100kb | OK | 10 |
7 | Depăşit | 10704kb | Time limit exceeded. | 0 |
8 | 760ms | 13028kb | OK | 10 |
9 | 776ms | 13376kb | OK | 10 |
10 | 840ms | 13556kb | OK | 10 |
Punctaj total | 90 |