Pagini recente » Borderou de evaluare (job #3009990) | Borderou de evaluare (job #3009996) | Borderou de evaluare (job #2383298) | Borderou de evaluare (job #2333177) | Borderou de evaluare (job #1417772)
Borderou de evaluare (job #1417772)
Raport evaluator
Compilare:
user.cpp: In function ‘void readdata()’:
user.cpp:9:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d%d",&p);
^
user.cpp:9:23: warning: format ‘%d’ expects a matching ‘int*’ argument [-Wformat=]
user.cpp: In function ‘void writedata()’:
user.cpp:64:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(f,"%d",n);
^
user.cpp: In function ‘void readdata()’:
user.cpp:9:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&p);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 240kb | Raspuns incorect | 0 |
| 2 | 0ms | 252kb | Corect! | 5 |
| 3 | 0ms | 244kb | Corect! | 5 |
| 4 | 0ms | 248kb | Corect! | 5 |
| 5 | Depăşit | 216kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 220kb | Time limit exceeded. | 0 |
| 7 | 0ms | 248kb | Corect! | 5 |
| 8 | 0ms | 248kb | Corect! | 5 |
| 9 | 0ms | 252kb | Corect! | 5 |
| 10 | 0ms | 244kb | Corect! | 5 |
| 11 | 0ms | 252kb | Corect! | 5 |
| 12 | 0ms | 252kb | Corect! | 5 |
| 13 | 0ms | 252kb | Corect! | 5 |
| 14 | 0ms | 244kb | Corect! | 5 |
| 15 | 0ms | 252kb | Corect! | 5 |
| 16 | 0ms | 248kb | Corect! | 5 |
| 17 | 0ms | 248kb | Corect! | 5 |
| 18 | 0ms | 248kb | Corect! | 5 |
| 19 | 0ms | 244kb | Corect! | 5 |
| 20 | 0ms | 248kb | Corect! | 5 |
| Punctaj total | 85 |