Pagini recente » Borderou de evaluare (job #1788389) | Borderou de evaluare (job #3041149) | Borderou de evaluare (job #2971479) | Borderou de evaluare (job #2955646) | Borderou de evaluare (job #1287880)
Borderou de evaluare (job #1287880)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:22: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n",99);
^
user.cpp:12:47: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
for (i=2;i<=10;i++) printf("%ld %ld\n",1,i);
^
user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fenrir.in","r",stdin);
^
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fenrir.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 400kb | OK | 100 |
Punctaj total | 100 |