Pagini recente » Borderou de evaluare (job #198250) | Borderou de evaluare (job #747876) | Borderou de evaluare (job #1751641) | Borderou de evaluare (job #349331) | Borderou de evaluare (job #1757718)
Borderou de evaluare (job #1757718)
Raport evaluator
Compilare:
user.cpp: In function ‘int main(int, const char**)’:
user.cpp:8:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fopen("lgput.in","r"),"%d%d",&n,&p);
^
user.cpp:8:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:18:41: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fopen("lgput.out","w"),"%d",rez);
^
user.cpp:8:44: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fopen("lgput.in","r"),"%d%d",&n,&p);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 256kb | OK | 10 |
| 2 | 0ms | 260kb | OK | 10 |
| 3 | 0ms | 260kb | OK | 10 |
| 4 | 0ms | 260kb | OK | 10 |
| 5 | 0ms | 260kb | OK | 10 |
| 6 | 0ms | 256kb | OK | 10 |
| 7 | 0ms | 264kb | OK | 10 |
| 8 | 0ms | 260kb | OK | 10 |
| 9 | 0ms | 256kb | OK | 10 |
| 10 | 0ms | 256kb | OK | 10 |
| Punctaj total | 100 |