Pagini recente » Borderou de evaluare (job #2342677) | Borderou de evaluare (job #2043685) | Borderou de evaluare (job #2346590) | Borderou de evaluare (job #547581) | Borderou de evaluare (job #1626960)
Borderou de evaluare (job #1626960)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d",&m,&n);
^
user.cpp:16:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:19:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘unsigned char*’ [-Wformat=]
scanf("%d",&v1[i]);
^
user.cpp:22:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘unsigned char*’ [-Wformat=]
scanf("%d",&v2[i]);
^
user.cpp:14:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cmlsc.in","r",stdin);
^
user.cpp:15:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cmlsc.out","w",stdout);
^
user.cpp:16:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&m,&n);
^
user.cpp:19:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v1[i]);
^
user.cpp:22:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v2[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 424kb | Lungime incorecta! | 0 |
2 | 0ms | 424kb | Lungime incorecta! | 0 |
3 | 0ms | 424kb | Lungime incorecta! | 0 |
4 | 0ms | 424kb | Lungime incorecta! | 0 |
5 | 0ms | 424kb | Lungime incorecta! | 0 |
6 | 0ms | 424kb | Lungime incorecta! | 0 |
7 | 0ms | 428kb | Lungime incorecta! | 0 |
8 | 0ms | 432kb | Lungime incorecta! | 0 |
9 | 0ms | 432kb | Lungime incorecta! | 0 |
10 | 0ms | 424kb | Lungime incorecta! | 0 |
Punctaj total | 0 |