Pagini recente » Cod sursa (job #1751292) | Borderou de evaluare (job #2510009) | Borderou de evaluare (job #1769538) | Borderou de evaluare (job #1988902) | Borderou de evaluare (job #1314214)
Borderou de evaluare (job #1314214)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:82:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d",&n,&m);
^
user.cpp:82:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:96:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d%d",&p1,&p2,&p3);
^
user.cpp:96:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:96:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:80:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("alge.in","r",stdin);
^
user.cpp:81:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("alge.out","w",stdout);
^
user.cpp:82:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:96:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&p1,&p2,&p3);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 272kb | Raspuns Gresit! | 0 | 0 |
| 2 | 0ms | 268kb | Raspuns Gresit! | 0 |
| 3 | 0ms | 264kb | Raspuns Gresit! | 0 | 0 |
| 4 | 0ms | 276kb | Raspuns Gresit! | 0 |
| 5 | 0ms | 276kb | Raspuns Gresit! | 0 | 0 |
| 6 | 0ms | 272kb | Raspuns Gresit! | 0 |
| 7 | 0ms | 280kb | Raspuns Gresit! | 0 | 0 |
| 8 | 0ms | 288kb | Raspuns Gresit! | 0 | 0 |
| 9 | 0ms | 280kb | Raspuns Gresit! | 0 |
| 10 | 0ms | 288kb | Raspuns Gresit! | 0 |
| Punctaj total | 0 |