Pagini recente » Cod sursa (job #8395) | Cod sursa (job #2000448) | Borderou de evaluare (job #1598475) | Cod sursa (job #2000233) | Borderou de evaluare (job #1619427)
Borderou de evaluare (job #1619427)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:20:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",nr);
^
user.cpp:6:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("drepte2.in","r",stdin);
^
user.cpp:7:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("drepte2.out","w",stdout);
^
user.cpp:8:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | corect | 4 |
| 2 | 0ms | 264kb | corect | 4 |
| 3 | 0ms | 264kb | corect | 4 |
| 4 | 0ms | 264kb | raspuns gresit | 0 |
| 5 | 0ms | 264kb | raspuns gresit | 0 |
| 6 | 0ms | 264kb | raspuns gresit | 0 |
| 7 | 0ms | 264kb | raspuns gresit | 0 |
| 8 | 0ms | 268kb | raspuns gresit | 0 |
| 9 | 0ms | 260kb | raspuns gresit | 0 |
| 10 | 0ms | 268kb | raspuns gresit | 0 |
| 11 | 0ms | 264kb | raspuns gresit | 0 |
| 12 | 0ms | 264kb | raspuns gresit | 0 |
| 13 | 0ms | 264kb | raspuns gresit | 0 |
| 14 | 0ms | 264kb | raspuns gresit | 0 |
| 15 | 0ms | 264kb | raspuns gresit | 0 |
| 16 | 0ms | 268kb | raspuns gresit | 0 |
| 17 | 0ms | 264kb | raspuns gresit | 0 |
| 18 | 0ms | 264kb | raspuns gresit | 0 |
| 19 | 0ms | 260kb | raspuns gresit | 0 |
| 20 | 0ms | 264kb | raspuns gresit | 0 |
| 21 | 0ms | 264kb | raspuns gresit | 0 |
| 22 | 0ms | 264kb | raspuns gresit | 0 |
| Punctaj total | 12 |