Pagini recente » Cod sursa (job #2216632) | Borderou de evaluare (job #1563500) | Borderou de evaluare (job #2766638) | Borderou de evaluare (job #1856913)
Borderou de evaluare (job #1856913)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:68:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d %d\n",&n,&k);
^
user.cpp:68:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:74:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d %d\n",&a,&b);
^
user.cpp:74:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:68:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&n,&k);
^
user.cpp:74:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&a,&b);
^
user.cpp: In function ‘int main()’:
user.cpp:90:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cezar.in","r",stdin);
^
user.cpp:91:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cezar.out","w",stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 556kb | Incorect | 0 |
| 2 | 0ms | 552kb | Incorect | 0 |
| 3 | 0ms | 556kb | Incorect | 0 |
| 4 | 0ms | 556kb | Incorect | 0 |
| 5 | 0ms | 552kb | Incorect | 0 |
| 6 | 0ms | 552kb | Incorect | 0 |
| 7 | 0ms | 552kb | Incorect | 0 |
| 8 | 0ms | 556kb | Incorect | 0 |
| 9 | 0ms | 556kb | Incorect | 0 |
| 10 | 0ms | 556kb | Incorect | 0 |
| 11 | 0ms | 548kb | Incorect | 0 |
| 12 | 0ms | 552kb | Incorect | 0 |
| 13 | 0ms | 560kb | Incorect | 0 |
| 14 | 0ms | 556kb | Incorect | 0 |
| 15 | 0ms | 552kb | Incorect | 0 |
| 16 | 0ms | 556kb | Incorect | 0 |
| 17 | 0ms | 552kb | Incorect | 0 |
| 18 | 0ms | 556kb | Incorect | 0 |
| 19 | 0ms | 552kb | Incorect | 0 |
| 20 | 0ms | 552kb | Incorect | 0 |
| Punctaj total | 0 |