Pagini recente » Borderou de evaluare (job #2622057) | Borderou de evaluare (job #2423285) | Borderou de evaluare (job #1508822) | Borderou de evaluare (job #301954) | Borderou de evaluare (job #1287889)
Borderou de evaluare (job #1287889)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:22: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n",99);
^
user.cpp:11: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:8: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:9: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 | 212kb | OK | 100 |
Punctaj total | 100 |