Pagini recente » Borderou de evaluare (job #519356) | Borderou de evaluare (job #1086882) | Borderou de evaluare (job #875747) | Borderou de evaluare (job #957394) | Borderou de evaluare (job #1715162)
Borderou de evaluare (job #1715162)
Raport evaluator
Compilare:
user.cpp: In function ‘void read(int&)’:
user.cpp:27:22: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
while(ch>'9'||ch<'0'&&val1>=val2)
^
user.cpp: In function ‘int main()’:
user.cpp:103:10: warning: unused variable ‘i’ [-Wunused-variable]
for(int i=P;;)
^
user.cpp:121:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf("%d\n",sol);
^
user.cpp: In function ‘void read(int&)’:
user.cpp:26:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file,"%c",&ch);
^
user.cpp:31:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file,"%c",&ch);
^
user.cpp:44:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file,"%c",&ch);
^
user.cpp: In function ‘int main()’:
user.cpp:93:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hacker3.out","w",stdout);
^
user.cpp:96:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file,"%d",&N);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 284kb | Incorect | 0 | 0 |
2 | 0ms | 280kb | Incorect | 0 | 0 |
3 | 4ms | 284kb | Incorect | 0 | 0 |
4 | 4ms | 284kb | Incorect | 0 | 0 |
5 | 44ms | 280kb | Incorect | 0 | 0 |
6 | 56ms | 284kb | Incorect | 0 | 0 |
7 | 48ms | 280kb | Incorect | 0 | 0 |
8 | 44ms | 280kb | Incorect | 0 | 0 |
9 | 424ms | 280kb | Incorect | 0 | 0 |
10 | 420ms | 276kb | Incorect | 0 |
11 | 424ms | 276kb | Incorect | 0 |
12 | 428ms | 280kb | Incorect | 0 |
13 | 424ms | 276kb | Incorect | 0 |
14 | 424ms | 284kb | Incorect | 0 |
15 | Depăşit | 256kb | Time limit exceeded. | 0 | 0 |
16 | Depăşit | 260kb | Time limit exceeded. | 0 |
17 | Depăşit | 252kb | Time limit exceeded. | 0 |
18 | Depăşit | 260kb | Time limit exceeded. | 0 |
19 | Depăşit | 256kb | Time limit exceeded. | 0 |
20 | Depăşit | 256kb | Time limit exceeded. | 0 |
Punctaj total | 0 |