Pagini recente » Borderou de evaluare (job #71039) | Borderou de evaluare (job #3248619) | Borderou de evaluare (job #3168230) | Borderou de evaluare (job #2452318) | Borderou de evaluare (job #2370060)
Borderou de evaluare (job #2370060)
Raport evaluator
Compilare:
main.cpp: In function 'int max(int, int)':
main.cpp:12:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(a>b) return a; return b;
^~
main.cpp:12:20: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(a>b) return a; return b;
^~~~~~
main.cpp: In function 'int min(int, int)':
main.cpp:17:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(a<b) return a; return b;
^~
main.cpp:17:20: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(a<b) return a; return b;
^~~~~~
main.cpp: In function 'void read()':
main.cpp:23:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&c,&n);
^
main.cpp:26:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&x,&y);
^
main.cpp: In function 'int main()':
main.cpp:56:27: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen(infile,"r",stdin);
^
main.cpp:57:29: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen(outfile,"w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 3ms | 131kb | OK | 10 |
5 | 4ms | 131kb | OK | 10 |
6 | 5ms | 131kb | OK | 10 |
7 | 5ms | 131kb | OK | 10 |
8 | 7ms | 131kb | OK | 10 |
9 | 9ms | 131kb | OK | 10 |
10 | 31ms | 131kb | OK | 10 |
Punctaj total | 100 |