Pagini recente » Borderou de evaluare (job #268242) | Borderou de evaluare (job #2675381) | Borderou de evaluare (job #1878250) | Borderou de evaluare (job #2654818) | Borderou de evaluare (job #2013578)
Borderou de evaluare (job #2013578)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:20: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘long unsigned int*’ [-Wformat=]
scanf("%ul",&le);
^
user.cpp:18:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<=le;i++)
^
user.cpp:32:21: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
printf("%u",temp);
^
user.cpp:15:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxsecv.in","r",stdin);
^
user.cpp:16:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxsecv.out","w",stdout);
^
user.cpp:17:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ul",&le);
^
user.cpp:20:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 440kb | OK | 10 |
2 | 0ms | 440kb | OK | 10 |
3 | 0ms | 448kb | OK | 10 |
4 | 0ms | 472kb | OK | 10 |
5 | 20ms | 784kb | OK | 10 |
6 | 40ms | 928kb | OK | 10 |
7 | 88ms | 784kb | OK | 10 |
8 | 148ms | 924kb | OK | 10 |
9 | 168ms | 924kb | OK | 10 |
10 | 188ms | 924kb | OK | 10 |
Punctaj total | 100 |