Pagini recente » Borderou de evaluare (job #1538354) | Borderou de evaluare (job #381617) | Borderou de evaluare (job #912271) | Borderou de evaluare (job #768250) | Borderou de evaluare (job #1748233)
Borderou de evaluare (job #1748233)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:23: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=]
scanf("%u%u",&n,&p);
^
user.cpp:9:23: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=]
user.cpp:28:21: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf("%u\n",n1);
^
user.cpp:7:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lgput.in","r",stdin);
^
user.cpp:8:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lgput.out","w",stdout);
^
user.cpp:9:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u%u",&n,&p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 436kb | OK | 10 |
2 | 0ms | 432kb | OK | 10 |
3 | 0ms | 432kb | OK | 10 |
4 | 0ms | 440kb | OK | 10 |
5 | 0ms | 436kb | OK | 10 |
6 | 0ms | 436kb | OK | 10 |
7 | 0ms | 436kb | OK | 10 |
8 | 0ms | 436kb | OK | 10 |
9 | 0ms | 432kb | OK | 10 |
10 | 0ms | 440kb | OK | 10 |
Punctaj total | 100 |